
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>


<html>
<head>
    <title>$Title$</title>
    <style type="text/css">
        ul li {
            list-style: none;
            display: inline;
        }

        img {
            vertical-align: middle;
        }
        #navbar-left {
            width: 100%;
            height: 30px;
            background-color: lightgrey;
            line-height: 30px;
        }
        #navbar-left ul li span {
            font-size: 12px;
            color: #999;
            margin-left: 30px;
        }
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        nav {
            position: absolute;
            left: 900px;
            top: -10px;
            padding: 0 16px;
        }
        .nav-list {
            display: flex;
            list-style: none;
            height: 48px;
            align-items: center;
        }

        .nav-item {
            position: relative;
        }

        .nav-link {
            display: flex;
            align-items: center;
            padding: 8px 16px;
            text-decoration: none;
            font-size: 12px;
            color: #999;
            cursor: pointer;
        }


        .dropdown-icon {
            width: 12px;
            height: 12px;
            margin-left: 4px;
            transform: rotate(0deg);
            transition: transform 0.2s;
        }

        #navbar-left a{
           text-decoration: none;
            color: #999999;
        }

        .dropdown-icon.active {
            transform: rotate(180deg);
        }

        .dropdown-menu {
            position: absolute;
            top: 100%;
            left: 0;
            background-color: whitesmoke;
            width: 100px;
            display: none;
            opacity: 0;
            transition: opacity 0.2s;
            margin-left: 15px;
        }

        .dropdown-menu.show {
            display: block;
            opacity: 1;
        }

        .dropdown-item {
            display: block;
            text-decoration: none;
            color: #666;
            font-size: 12px;
            margin-top: 10px;
            text-indent: 30px;

        }

        .dropdown-item:hover {
            color: red;
        }

        #bog-box-top {
            align-items: center;
        }


        <%--loger地名部分--%>
        .city-selector {
            position: relative;
            display: inline-block;
        }

        .selected-city {
            margin-left: 20px;
            line-height: 40px;
            height: 40px;
            font-size: 16px;
            color: #666666;
        }

        .city-trigger {
            display: flex;
            align-items: center;
            gap: 4px;
            padding: 8px 12px;
            font-size: 14px;
            cursor: pointer;
            border: none;
            background: none;
        }

        .city-trigger:hover {
            color: #00b96b;
        }

        .arrow {
            border-left: 4px solid transparent;
            border-right: 4px solid transparent;
            border-bottom: 4px solid currentColor;
            transition: transform 0.2s;
        }

        .arrow.down {
            transform: rotate(180deg);
        }

        .dropdown {
            display: none;
            position: absolute;
            top: 50px;
            left: 22px;
            width: 600px;
            background: white;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
            border-radius: 4px;
            padding: 16px;
            z-index: 1000;

        }

        .tabs {
            display: flex;
            gap: 16px;
            margin-bottom: 16px;
            border-bottom: 1px solid #eee;
            padding-bottom: 8px;
        }

        .tab {
            padding: 4px 8px;
            font-size: 14px;
            cursor: pointer;
            border: none;
            background: none;
            color: #666;
        }

        .tab.active {
            color: #00b96b;
            border-bottom: 2px solid #00b96b;
        }

        .cities-grid {
            display: grid;
            grid-template-columns: repeat(6, 1fr);
            gap: 12px;
        }

        .city-button {
            padding: 8px;
            font-size: 14px;
            border: none;
            background: none;
            cursor: pointer;
            border-radius: 4px;
        }

        .city-button:hover {
            color: red;
        }

        .tab-content {
            display: none;
        }

        .tab-content.active {
            display: block;
        }

        /*搜索框*/
        .search-container {
            position: relative;
            max-width: 600px;
            margin: 0 auto;
        }

        .search-wrapper {
            display: flex;
            border: 2px solid #00b96b;
            border-radius: 2px;
        }

        .search-input {
            flex: 1;
            padding: 10px 12px;
            font-size: 14px;
            border: none;
            outline: none;
        }


        .example-text {
            color: #999;
            margin: 0 4px;
            line-height: 32px;
            width: 50px;
            background-color: lightgrey;
            border-radius: 30px;
            text-align: center;
        }

        .search-button {
            padding: 0 24px;
            background: #00b96b;
            color: white;
            border: none;
            cursor: pointer;
            font-size: 14px;
        }

        .search-button:hover {
            background: #009b5a;
        }

        .hot-searches {
            display: none;
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            background: white;
            border: 1px solid #eee;
            border-top: none;
            padding: 12px 0;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        }

        .hot-searches.visible {
            display: block;
        }

        .hot-title {
            padding: 0 12px 8px;
            color: #999;
            font-size: 12px;
        }

        .hot-list {
            list-style: none;
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            padding: 0 12px;
        }

        .hot-item {
            color: #333;
            font-size: 14px;
            padding: 4px 8px;
            cursor: pointer;
            border-radius: 2px;
        }

        .hot-item:hover {
            background: #f5f5f5;
            color: #00b96b;
        }


        .search-container {
            margin-top: -65px;
        }


        /*头部客服服务*/
        .contact-wrapper {
            position: absolute;
            left: 1300px;
            top: 65px;
            z-index: 1000;
        }


        .contact-icon i {
            color: white;
            font-size: 24px;
        }

        .contact-info {
            position: absolute;
            left: 0;
            top: 60px;
            width: 200px;
            background: white;
            border-radius: 8px;
            padding: 15px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            display: none;
        }

        .contact-info h3 {
            margin: 0 0 10px 0;
            font-size: 16px;
            color: #333;
        }

        .qr-code {
            width: 150px;
            height: 150px;
            margin: 10px auto;
            display: block;
        }

        .phone-numbers {
            margin-top: 10px;
            padding-top: 10px;
            border-top: 1px solid #eee;
        }

        .phone-number {
            margin: 5px 0;
            color: #666;
            font-size: 14px;
        }


        #span-kefu {
            font-size: 12px;
            display: inline-block;
            margin-left: 10px;
            color: #666666;
        }

        #span-ipone {
            color: #666666;
        }

        /*头部导航栏*/
        #GYH-nav {
            background-color: #00c250;
            width: 100%;
            padding: 0;
            margin: 0;
            margin-top: 20px;
        }

        .GYH-nav-container {


            display: flex;
            align-items: center;

        }

        .GYH-nav-list {
            display: flex;
            list-style: none;
            margin: 0;
            padding: 0;
        }

        .GYH-nav-item {
            position: relative;
            margin-left: 6px;
        }

        .GYH-nav-link {
            color: white;
            text-decoration: none;
            padding: 15px 20px;
            display: block;
            font-size: 14px;
            position: relative;

        }

        .GYH-nav-link:after {
            content: "▾";
            margin-left: 5px;
            font-size: 12px;
            opacity: 0.8;
        }

        .GYH-nav-item:hover .GYH-nav-link {
            background-color: rgba(0, 0, 0, 0.1);
        }

        .GYH-dropdown {
            position: absolute;
            top: 100%;
            left: 0;
            background-color: white;
            min-width: 150px;
            box-shadow: 0 2px 5px rgba(0,0,0,0.2);
            display: none;
            z-index: 1000;
        }

        .GYH-dropdown-item {
            padding: 10px 15px;
            color: #333;
            text-decoration: none;
            display: block;
            border-bottom: 1px solid #eee;
        }

        .GYH-dropdown-item:hover {
            background-color: #f5f5f5;
        }

/*机票，酒店.火车票，度假，景点窗口*/
        .booking-container {
            width: 1400px;

            display: flex;
            border-radius: 8px;
            box-shadow: 0 0 15px rgba(0,0,0,0.1);
           height: 380px;
            margin-top: 40px;
            margin-left: 80px;


        }

        .sidebar {

            width: 120px;
            background-color: #6b4fbb;
            border-radius: 8px 0 0 8px;
        }

        .sidebar-item {
            padding: 20px;
            color: white;
            cursor: pointer;
            transition: background-color 0.3s;
        }

        .sidebar-item:hover,
        .sidebar-item.active {
            background-color: #563d99;
        }

        .content-area {
            flex: 1;
            padding: 30px;
            background: white;
            border-radius: 0 8px 8px 0;
        }

        .panel {
            display: none;
        }

        .panel.active {
            display: block;
        }

        .tab-header {
            border-bottom: 2px solid #eee;
            margin-bottom: 20px;
        }

        .tab-header a {
            display: inline-block;
            padding: 10px 20px;
            color: #333;
            text-decoration: none;
            position: relative;
        }

        .tab-header a.active {
            color: #00c250;
        }

        .tab-header a.active:after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 0;
            width: 100%;
            height: 2px;
            background: #00c250;
        }

        .form-group {
            margin-bottom: 20px;
        }

        .form-control {
            width: 100%;
            padding: 12px;
            border: 1px solid #ddd;
            border-radius: 4px;
            background: #f5f5f5;
        }

        .date-group {
            display: flex;
            gap: 20px;
        }

        .search-btn {
            background: #00c250;
            color: white;
            padding: 12px 40px;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            float: right;
            margin-top: 10px;
        }

        .radio-group {
            margin-bottom: 20px;
        }

        .radio-group label {
            margin-right: 20px;
        }

        .city-exchange {
            display: inline-block;
            width: 30px;
            height: 30px;
            line-height: 30px;
            text-align: center;
            margin: 0 10px;
            border: 1px solid #ddd;
            border-radius: 50%;
            cursor: pointer;
        }

        .popular-cities {
            margin-top: 30px;
        }

        .popular-cities h4 {
            margin-bottom: 10px;
            color: #666;
        }

        .city-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
        }

        .city-tag {
            padding: 5px 15px;
            background: #f5f5f5;
            border-radius: 15px;
            color: #666;
            cursor: pointer;
        }

        #img-city-chufa{
            margin-left: 200px;
        }

        /*住酒店，酒店名称*/
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
        }

        .nav-cities {
            display: flex;
            gap: 20px;
            border-bottom: 1px solid #eee;
            padding: 10px 0;
        }

        .nav-cities a {
            text-decoration: none;
            color: #333;
            font-size: 16px;
            padding: 5px 10px;
            cursor: pointer;
        }

        .nav-cities a.active {
            color: #000;
            font-weight: bold;
            border-bottom: 2px solid #000;
        }

        .hotel-container {
            margin-top: 20px;
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 20px;
        }

        .hotel-card {
            border: 1px solid #eee;
            border-radius: 8px;
            overflow: hidden;
            transition: transform 0.2s;
            display: none;
            width: 300px;
        }

        .hotel-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        }

        .hotel-card.active {
            display: block;
        }

        .hotel-image {
            width: 100%;
            height: 200px;
            background-color: #f5f5f5;
            object-fit: cover;
        }

        .hotel-info {
            padding: 15px;
        }

        .hotel-name {
            font-size: 16px;
            font-weight: bold;
            margin-bottom: 8px;
        }

        .hotel-type {
            color: #666;
            font-size: 14px;
            margin-bottom: 8px;
            display: inline-block;
        }

        .hotel-price {
            color: #ff4d4f;
            font-size: 16px;
            font-weight: bold;
            display: inline-block;
            margin-left: 150px;
        }

        .price-unit {
            font-size: 12px;
            color: #999;
        }

        /*景点*/
        #jingdian{
            width: 1200px;
            margin-left: 130px;
        }
        #jingdian-max{
            margin-left: 60px;
        }




        #jingdian-text{
            margin-left: 200px;
        }


        /*目的地合作*/
        .destination-partners {
            max-width: 1200px;
            margin: 0 auto;
            padding: 2rem 1rem;
        }

        .header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 2rem;
        }

        .more-link {
            color: #666;
            text-decoration: none;
            transition: color 0.3s;
        }

        .more-link:hover {
            color: #ff6b00;
        }

        .partners-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            gap: 2rem;

        }

        .partner-item {
            text-align: center;
            text-decoration: none;
        }

        .partner-image {
            aspect-ratio: 1;
            margin-bottom: 0.5rem;
        }

        .partner-image img {
            width: 80px;
            height: 80px;
            object-fit: contain;
            transition: transform 0.3s;
        }

        .partner-name {
            color: #333;
            font-size: 0.875rem;
            transition: color 0.3s;
            display: inline-block;
            margin-top: -130px;

        }

        .partner-item:hover .partner-image img {
            transform: scale(1.05);
        }

        .partner-item:hover .partner-name {
            color: #ff6b00;
        }

        /*底部*/
        .service-highlights {
            display: flex;
            justify-content: space-around;
            padding: 20px 0;
            background: #fff;
            border-bottom: 1px solid #eee;
        }

        .highlight-item {
            display: flex;
            align-items: center;
            gap: 10px;
            color: #666;
        }

        .site-footer {
            background: #333;
            color: #fff;
            padding: 40px 0;
        }

        .footer-content {
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 30px;
            padding: 0 20px;
        }

        .footer-section h3 {
            font-size: 16px;
            margin-bottom: 20px;
            color: #fff;
        }

        .footer-section ul {
            list-style: none;
            padding: 0;
        }

        .footer-section{
            margin-left: -50px;
        }

        .footer-section ul li {
            margin-bottom: 10px;
            display: block;
        }

        .footer-link {
            color: #999;
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .footer-link:hover {
            color: #fff;
        }

        .qr-code {
            text-align: center;
        }

        .qr-code img {
            width: 120px;
            height: 120px;
            margin-bottom: 10px;
        }

        .popular-links {
            max-width: 1200px;
            margin: 20px auto 0;
            padding: 20px;
            border-top: 1px solid #444;
        }

        .links-section {
            display: flex;
            flex-wrap: wrap;
            gap: 15px;
            color: #999;
        }

        .links-section a {
            color: #999;
            text-decoration: none;
        }

        .links-section a:hover {
            color: #fff;
        }



        #footer-section{
            position: absolute;
            left: 1400px;

        }

        #footer-section h3{
            margin-left: 12px;
        }


        #foot-bottom a{
            text-decoration: none;
            color: grey;
        }

        #foot-bottom p{
            color: grey;
        }


        #zhuce a{
            text-decoration: none;
            color: #999999;
        }

        #pangbiantupian{
            width: 100%;
            height: 100px;
            position: absolute;
            left: 1380px;
            top: 695px;
        }


        #feature-djingdian{
            transform: translateY(-5px);
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
            display: inline-block;
          margin-left: 70px;
            margin-bottom: 20px;
            margin-top: 20px;
        }

        #feature-djingdian a{
            text-decoration: none;
            color: #333333;
            font-weight: 700;
        }


    </style>
</head>
<body>

<%--获取登录信息--%>
<c:if test="${user != null}">
<%-- document.getElementById("login-text-index").innerText = "${user.username}";--%>
</c:if>



<%--主页面--%>
<div id="bog-box-top">
    <div id="navbar-left">
        <ul>
            <li><span><a id="login-text-index" href="/login.jsp">您好，请登录</a><span id="tuichu">退出</span></span></li>
            <li><span id="zhuce"><a href="/register.jsp">注册</a></span></li>
            <li><img src="static/img/pc_index_gister.gif"></li>
        </ul>


    </div>


    <nav>
        <ul class="nav-list">
            <li class="nav-item">
                <a class="nav-link">
                    Language
                    <svg class="dropdown-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
                        <path d="M6 9l6 6 6-6"/>
                    </svg>
                </a>
                <div class="dropdown-menu">
                    <a href="#" class="dropdown-item"><img
                            src="static/img/rBLkCVvWbqmAJWxmAAABQaM8azg489.png">English</a>
                    <a href="#" class="dropdown-item"><img src="static/img/rBLkCVvS7pSAa_ssAAAA82XoyWY361.png">中文</a>
                </div>
            </li>
            <li class="nav-item">
                <a href="#" class="nav-link">我的订单</a>
            </li>
            <li class="nav-item">
                <a class="nav-link" onclick="checkMyFellow()">
                    我的同程
                    <svg class="dropdown-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
                        <path d="M6 9l6 6 6-6"/>
                    </svg>
                </a>
                <div class="dropdown-menu">
                    <a href="#" class="dropdown-item" onclick="checkMyFellow('my-orders')">我的订单</a>
                    <a href="#" class="dropdown-item" onclick="checkMyFellow('profile-info')">我的信息</a>
                    <a href="#" class="dropdown-item" onclick="checkMyFellow('profile-favorites')">我的收藏</a>
                </div>
            </li>
            <li class="nav-item">
                <a class="nav-link">
                    客服服务
                    <svg class="dropdown-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
                        <path d="M6 9l6 6 6-6"/>
                    </svg>
                </a>
                <div class="dropdown-menu">
                    <a href="#" class="dropdown-item">帮助中心</a>
                    <a href="#" class="dropdown-item">在线客服</a>
                    <a href="#" class="dropdown-item">人工申诉</a>
                    <a href="#" class="dropdown-item">抱团定制</a>
                </div>
            </li>
            <li class="nav-item">
                <a class="nav-link">
                    合作中心
                    <svg class="dropdown-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
                        <path d="M6 9l6 6 6-6"/>
                    </svg>
                </a>
                <div class="dropdown-menu">
                    <a href="#" class="dropdown-item">网站加盟</a>
                    <a href="#" class="dropdown-item">合作加盟</a>
                    <a href="#" class="dropdown-item">门票合作</a>
                    <a href="#" class="dropdown-item">商旅合作</a>
                </div>
            </li>

            <li class="nav-item">
                <a id="my-admin" href="backStageManagement.jsp" class="nav-link">我的后台</a>
            </li>
        </ul>
    </nav>

</div>

<%--loger地名--%>

<div>
    <img src="static/img/PS2lfS0492.jpg">
    <div class="city-selector">

        <button class="city-trigger">
            <span class="selected-city">杭州</span>
            <span class="arrow"></span>
        </button>

        <div class="dropdown">
            <div class="tabs">
                <button class="tab active" data-tab="hot">热门城市</button>
                <button class="tab" data-tab="abcdef">ABCDEF</button>
                <button class="tab" data-tab="ghijklm">GHIJKLM</button>
                <button class="tab" data-tab="nopqrs">NOPQRS</button>
                <button class="tab" data-tab="tuwxyz">TUWXYZ</button>
            </div>

            <div class="tab-content active" id="hot">
                <div class="cities-grid">
                    <button class="city-button">北京</button>
                    <button class="city-button">杭州</button>
                    <button class="city-button">苏州</button>
                    <button class="city-button">上海</button>
                    <button class="city-button">重庆</button>
                    <button class="city-button">广州</button>
                    <button class="city-button">宁波</button>
                    <button class="city-button">成都</button>
                    <button class="city-button">桂林</button>
                    <button class="city-button">南京</button>
                    <button class="city-button">厦门</button>
                    <button class="city-button">金华</button>
                    <button class="city-button">青岛</button>
                    <button class="city-button">黄山</button>
                    <button class="city-button">无锡</button>
                    <button class="city-button">三亚</button>
                    <button class="city-button">大连</button>
                    <button class="city-button">西安</button>
                </div>
            </div>

            <div class="tab-content" id="abcdef">
                <div class="cities-grid">
                    <button class="city-button">北京</button>
                    <button class="city-button">成都</button>
                    <button class="city-button">大连</button>
                </div>
            </div>

            <div class="tab-content" id="ghijklm">
                <div class="cities-grid">
                    <button class="city-button">广州</button>
                    <button class="city-button">杭州</button>
                    <button class="city-button">金华</button>
                </div>
            </div>

            <div class="tab-content" id="nopqrs">
                <div class="cities-grid">
                    <button class="city-button">南京</button>
                    <button class="city-button">青岛</button>
                    <button class="city-button">上海</button>
                </div>
            </div>

            <div class="tab-content" id="tuwxyz">
                <div class="cities-grid">
                    <button class="city-button">天津</button>
                    <button class="city-button">武汉</button>
                    <button class="city-button">厦门</button>
                </div>
            </div>
        </div>
    </div>


    <%--搜索框--%>
    <div class="search-container">
        <div class="search-wrapper">
            <input type="text" class="search-input" placeholder="请输入目的地/景点/酒店等">
            <span class="example-text">三亚</span>
            <span class="example-text">上海</span>
            <button class="search-button">搜索</button>
        </div>

        <div class="hot-searches">
            <div class="hot-title">热门搜索</div>
            <ul class="hot-list">
                <li class="hot-item">国内</li>
                <li class="hot-item">三亚</li>
                <li class="hot-item">上海</li>
                <li class="hot-item">北京</li>
                <li class="hot-item">青岛</li>
                <li class="hot-item">厦门</li>
                <li class="hot-item">成都</li>
                <li class="hot-item">南京</li>
                <li class="hot-item">苏州</li>
                <li class="hot-item">重庆</li>
            </ul>
        </div>
    </div>

    <%--头部客服服务--%>
    <div class="contact-wrapper">
        <div class="contact-icon">
            <img src="static/img/icon-tel.png" height="30px" width="30px">
            <span id="span-kefu">7x24h客服热线<br></span>

        </div>
        <div class="contact-info">
            <span id="span-ipone">推荐拨打免费客服电话<br></span>
            <img src="./static/img/rtc-qrcode.png" alt="微信扫码" class="qr-code">
            <div class="phone-numbers">
                <div class="phone-number">国内: 95711</div>
                <div class="phone-number">国际: +86 512-8220-9000</div>
            </div>
        </div>
    </div>

</div>

<%--首页导航栏--%>
<div id="GYH-nav">

        <div class="GYH-nav-container">
            <ul class="GYH-nav-list">
                <li class="GYH-nav-item">
                    <a href="/index.jsp" class="GYH-nav-link">首页</a>
                </li>
                <li class="GYH-nav-item">
                    <a href="/jd-index.jsp" class="GYH-nav-link">酒店</a>
                    <div class="GYH-dropdown">
                        <a href="jd-index.jsp   " class="GYH-dropdown-item">国内酒店</a>
                    </div>
                </li>
                <li class="GYH-nav-item">
                    <a href="/search_tickets.jsp" class="GYH-nav-link">机票</a>
                    <div class="GYH-dropdown">
                        <a href="/flight/domestic" class="GYH-dropdown-item">国内机票</a>
                        <a href="/flight/international" class="GYH-dropdown-item">国际机票</a>
                    </div>
                </li>
                <li class="GYH-nav-item">
                    <a href="/train.jsp" class="GYH-nav-link">火车票</a>
                </li>
                <li class="GYH-nav-item">
                    <a href="/car.jsp" class="GYH-nav-link">汽车</a>
                </li>
                <li class="GYH-nav-item">
                    <a href="/scenicjd.jsp" class="GYH-nav-link">景点</a>
                </li>
                <li class="GYH-nav-item">
                    <a href="/local" class="GYH-nav-link">周边团购</a>
                </li>
                <li class="GYH-nav-item">
                    <a href="/domestic" class="GYH-nav-link">境内游</a>
                </li>
                <li class="GYH-nav-item">
                    <a href="/international" class="GYH-nav-link">出境游</a>
                </li>
                <li class="GYH-nav-item">
                    <a href="/post" class="GYH-nav-link">邮轮</a>
                </li>
                <li class="GYH-nav-item">
                    <a href="/visa" class="GYH-nav-link">签证</a>
                </li>
                <li class="GYH-nav-item">
                    <a href="/strategy.jsp" class="GYH-nav-link">攻略</a>
                </li>
                <li class="GYH-nav-item">
                    <a href="/corporate" class="GYH-nav-link">企业商旅</a>
                </li>
                <li class="GYH-nav-item">
                    <a href="/corporate" class="GYH-nav-link">亮丽内蒙古</a>
                </li>
                <li class="GYH-nav-item">
                    <a href="/corporate" class="GYH-nav-link">更多</a>
                </li>
            </ul>
        </div>
</div>



<%--/*机票，酒店.火车票，度假，景点窗口*/--%>

<div class="booking-container">
    <div class="sidebar">
        <div class="sidebar-item" data-panel="flights">机票</div>
        <div class="sidebar-item" data-panel="hotels">酒店</div>
        <div class="sidebar-item" data-panel="trains">火车票</div>
        <div class="sidebar-item" data-panel="attractions">景点</div>
        <div class="sidebar-item" data-panel="vacation">度假</div>
    </div>

    <div class="content-area">
        <!-- 机票面板 -->
        <div class="panel" id="flights">
            <div class="tab-header">
                <a href="#" class="active">国内机票</a>
                <a href="#">国际·港澳台机票</a>
            </div>
            <div class="radio-group">
                <label><input type="radio" name="trip-type" checked> 单程</label>
                <label><input type="radio" name="trip-type"> 往返</label>
            </div>
            <div class="form-group">
                <input type="text" class="form-control" placeholder="出发城市 - 巴黎">
                <span class="city-exchange">⇄</span>
                <input type="text" class="form-control" placeholder="到达城市 - 丹佛">
            </div>
            <div class="date-group">
                <input type="date" class="form-control" value="2024-12-15">
                <input type="date" class="form-control" value="2024-12-15">
            </div>

            <button class="search-btn">搜索</button>
        </div>

        <!-- 酒店面板 -->
        <div class="panel" id="hotels">
            <div class="tab-header">
                <a href="#" class="active">国内酒店</a>
                <a href="#">海外酒店</a>
            </div>
            <div class="form-group">
                <input type="text" class="form-control" placeholder="目的地 - 北京">
            </div>
            <div class="date-group">
                <input type="date" class="form-control" value="2024-12-15">
                <input type="date" class="form-control" value="2024-12-16">
            </div>
            <div class="form-group">
                <input type="text" class="form-control" placeholder="关键字/酒店名/品牌">
            </div>
            <button class="search-btn">搜索</button>
        </div>

        <!-- 火车票面板 -->
        <div class="panel" id="trains">
            <div class="form-group">
                <input type="text" class="form-control" placeholder="出发城市">
                <span class="city-exchange">⇄</span>
                <input type="text" class="form-control" placeholder="到达城市">
            </div>
            <div class="form-group">
                <input type="date" class="form-control" value="2024-12-17">
            </div>
            <label><input type="checkbox"> 只搜高铁/动车</label>
            <button class="search-btn">搜索</button>
        </div>

        <!-- 景点面板 -->
        <div class="panel" id="attractions">
            <div class="tab-header">
                <a href="#" class="active">景点</a>
                <a href="#">周边跟团游</a>
            </div>
            <div class="form-group">
                <input type="text" class="form-control" placeholder="景点名或城市名">
            </div>
            <div class="popular-cities">
                <h4>热搜城市</h4>
                <div class="city-tags">
                    <span class="city-tag">杭州</span>
                    <span class="city-tag">宁波</span>
                    <span class="city-tag">金华</span>
                    <span class="city-tag">湖州</span>
                    <span class="city-tag">绍兴</span>
                    <span class="city-tag">嘉兴</span>
                </div>
            </div>
            <button class="search-btn">搜索</button>
        </div>

        <!-- 度假面板 -->
        <div class="panel" id="vacation">
            <div class="tab-header">
                <a href="#" class="active">境内游</a>
                <a href="#">出境游</a>
                <a href="#">签证</a>
                <a href="#">邮轮</a>
            </div>
            <div class="form-group">
                <input type="text" class="form-control" placeholder="出发地 - 杭州">
            </div>
            <div class="form-group">
                <input type="text" class="form-control" placeholder="请输入目的地、主题或关键词">
            </div>
            <button class="search-btn">搜索</button>
        </div>
    </div>



    <div id="img-city-chufa">
        <img src="static/img/微信图片编辑_20241215191227.jpg" width="100%" height="380px">
    </div>
</div>


<%--住酒店，酒店名称，城市名.--%>
<div class="container">
    <div class="nav-cities">
        <h1>住酒店</h1>
        <a href="#" class="city-link active" data-city="hangzhou">杭州</a>
        <a href="#" class="city-link" data-city="shaoxing">绍兴</a>
        <a href="#" class="city-link" data-city="huzhou">湖州</a>
        <a href="#" class="city-link" data-city="jiaxing">嘉兴</a>
        <a href="#" class="city-link" data-city="suzhou">苏州</a>
        <a href="#" class="city-link" data-city="ningbo">宁波</a>
        <a href="#" class="city-link" data-city="jinhua">金华</a>
        <a href="#" class="city-link" data-city="wuxi">无锡</a>
    </div>

    <div class="hotel-container">

        <!-- 杭州酒店 -->
        <div class="hotel-card active" data-city="hangzhou">
            <img src="static/img/1bZ9lqGEKe4.jpg"    class="hotel-image">
            <div class="hotel-info">
                <div class="hotel-name">杭州南宋御街店森怪堂</div>
                <div class="hotel-type">客栈民宿</div>
                <div class="hotel-price">¥78<span class="price-unit">起</span></div>
            </div>
        </div>

        <div class="hotel-card active" data-city="hangzhou">
            <img src="static/img/1z0BweqyqCk_640x320_00.jpg"    class="hotel-image">
            <div class="hotel-info">
                <div class="hotel-name">揽湖商务酒店(西湖河坊街店)</div>
                <div class="hotel-type">客栈民宿</div>
                <div class="hotel-price">¥138<span class="price-unit">起</span></div>
            </div>
        </div>

        <div class="hotel-card active" data-city="hangzhou">
            <img src="static/img/nw_1kBAV1v830A.jpg"    class="hotel-image">
            <div class="hotel-info">
                <div class="hotel-name">和昉·五洋公馆(杭州西湖湖滨in77店)</div>
                <div class="hotel-type">国内酒店</div>
                <div class="hotel-price">¥158<span class="price-unit">起</span></div>
            </div>
        </div>
        <div class="hotel-card active" data-city="hangzhou">
            <img src="static/img/nw_1kBvpZYg6Y0%20(1).jpg"    class="hotel-image">
            <div class="hotel-info">
                <div class="hotel-name">靖江大酒店(杭州萧山国际机场永盛路地铁站店)</div>
                <div class="hotel-type">客栈民宿</div>
                <div class="hotel-price">¥178<span class="price-unit">起</span></div>
            </div>
        </div>
        <div class="hotel-card active" data-city="hangzhou">
            <img src="static/img/nw_11PQn5T8RR6.jpg"    class="hotel-image">
            <div class="hotel-info">
                <div class="hotel-name">杭州鸿菲酒店公寓(火车东站西广场店)</div>
                <div class="hotel-type">客栈民宿</div>
                <div class="hotel-price">¥146<span class="price-unit">起</span></div>
            </div>
        </div>
        <div class="hotel-card active" data-city="hangzhou">
            <img src="static/img/nw_TxIu9A6qWs.jpg"    class="hotel-image">
            <div class="hotel-info">
                <div class="hotel-name">杭州南宋御街雷迪森怿曼酒店</div>
                <div class="hotel-type">国内酒店</div>
                <div class="hotel-price">¥281<span class="price-unit">起</span></div>
            </div>
        </div>



        <!-- 绍兴酒店 -->


        <div class="hotel-card" data-city="shaoxing">
            <img src="static/img/shaoxinjiudian1.jpg"   class="hotel-image">
            <div class="hotel-info">
                <div class="hotel-name">绍兴东湖酒店</div>
                <div class="hotel-type">客栈名宿</div>
                <div class="hotel-price">¥188<span class="price-unit">起</span></div>
            </div>
        </div>
        <div class="hotel-card" data-city="shaoxing">
            <img src="static/img/shaoxinjiudian2.jpg"   class="hotel-image">
            <div class="hotel-info">
                <div class="hotel-name">景汐酒店(绍兴鲁迅故里店)</div>
                <div class="hotel-type">客栈名宿</div>
                <div class="hotel-price">¥113<span class="price-unit">起</span></div>
            </div>
        </div>
        <div class="hotel-card" data-city="shaoxing">
            <img src="static/img/shaoxinjiudian3.jpg"   class="hotel-image">
            <div class="hotel-info">
                <div class="hotel-name">如家酒店·neo(绍兴鲁迅故里迎恩门风情水街店)</div>
                <div class="hotel-type">商务酒店</div>
                <div class="hotel-price">¥288<span class="price-unit">起</span></div>
            </div>
        </div>
        <div class="hotel-card" data-city="shaoxing">
            <img src="static/img/shaoxinjiudian4.jpg"   class="hotel-image">
            <div class="hotel-info">
                <div class="hotel-name">绍兴东湖酒店</div>
                <div class="hotel-type">客栈名宿</div>
                <div class="hotel-price">¥468<span class="price-unit">起</span></div>
            </div>
        </div>
        <div class="hotel-card" data-city="shaoxing">
            <img src="static/img/shaoxinjiudian5.jpg"   class="hotel-image">
            <div class="hotel-info">
                <div class="hotel-name">绍兴君会精品酒店(鲁迅故里地铁站银泰城店)</div>
                <div class="hotel-type">客栈名宿</div>
                <div class="hotel-price">¥368<span class="price-unit">起</span></div>
            </div>
        </div>

        <div class="hotel-card" data-city="shaoxing">
            <img src="static/img/shaoxinjiudian6.jpg"   class="hotel-image">
            <div class="hotel-info">
                <div class="hotel-name">绍兴咸亨酒店</div>
                <div class="hotel-type">商务酒店</div>
                <div class="hotel-price">¥523<span class="price-unit">起</span></div>
            </div>
        </div>



        <!-- 湖州酒店 -->
        <div class="hotel-card" data-city="huzhou">
            <img src="static/img/chaozhoujiiudain1.jpg"  class="hotel-image">
            <div class="hotel-info">
                <div class="hotel-name">湖州太湖喜来登温泉度假酒店(月亮酒店)</div>
                <div class="hotel-type">客栈名宿</div>
                <div class="hotel-price">¥188<span class="price-unit">起</span></div>
            </div>
        </div>

        <div class="hotel-card" data-city="huzhou">
            <img src="static/img/chaozhoujiudian2.jpg"  class="hotel-image">
            <div class="hotel-info">
                <div class="hotel-name">如家酒店·neo(湖州红旗路浙北购物中心店)</div>
                <div class="hotel-type">客栈名宿</div>
                <div class="hotel-price">¥358<span class="price-unit">起</span></div>
            </div>
        </div>
        <div class="hotel-card" data-city="huzhou">
            <img src="static/img/chaozhoujiudian3.jpg"  class="hotel-image">
            <div class="hotel-info">
                <div class="hotel-name">湖州东湖酒店</div>
                <div class="hotel-type">客栈名宿</div>
                <div class="hotel-price">¥158<span class="price-unit">起</span></div>
            </div>
        </div>
        <div class="hotel-card" data-city="huzhou">
            <img src="static/img/chaozhoujiudian4.jpg"  class="hotel-image">
            <div class="hotel-info">
                <div class="hotel-name">汉庭酒店(湖州爱山银泰南街店)</div>
                <div class="hotel-type">客栈名宿</div>
                <div class="hotel-price">¥1688<span class="price-unit">起</span></div>
            </div>
        </div>
        <div class="hotel-card" data-city="huzhou">
            <img src="static/img/chaozhoujiudian5.jpg"  class="hotel-image">
            <div class="hotel-info">
                <div class="hotel-name">太湖龙之梦钻石酒店</div>
                <div class="hotel-type">客栈名宿</div>
                <div class="hotel-price">¥388<span class="price-unit">起</span></div>
            </div>
        </div>
        <div class="hotel-card" data-city="huzhou">
            <img src="static/img/chaozhoujiudian6.jpg"  class="hotel-image">
            <div class="hotel-info">
                <div class="hotel-name">湖州太湖君澜温泉度假酒店</div>
                <div class="hotel-type">客栈名宿</div>
                <div class="hotel-price">¥288<span class="price-unit">起</span></div>
            </div>
        </div>


        <!-- 嘉兴酒店 -->
        <div class="hotel-card" data-city="jiaxing">
            <img src="static/img/jiaxinjiudian1.jpg"  class="hotel-image">
            <div class="hotel-info">
                <div class="hotel-name">维也纳酒店</div>
                <div class="hotel-type">客栈名宿</div>
                <div class="hotel-price">¥467<span class="price-unit">起</span></div>
            </div>
        </div>

        <div class="hotel-card" data-city="jiaxing">
            <img src="static/img/jiaxinjiudian2jpg.jpg"  class="hotel-image">
            <div class="hotel-info">
                <div class="hotel-name">7天酒店</div>
                <div class="hotel-type">客栈名宿</div>
                <div class="hotel-price">¥854<span class="price-unit">起</span></div>
            </div>
        </div>

        <div class="hotel-card" data-city="jiaxing">
            <img src="static/img/jiaxinjiudian3.jpg"  class="hotel-image">
            <div class="hotel-info">
                <div class="hotel-name">汉唐酒店</div>
                <div class="hotel-type">客栈名宿</div>
                <div class="hotel-price">¥643<span class="price-unit">起</span></div>
            </div>
        </div>

        <div class="hotel-card" data-city="jiaxing">
            <img src="static/img/jiaxinjiudian4.jpg"  class="hotel-image">
            <div class="hotel-info">
                <div class="hotel-name">嘉欣南湖酒店</div>
                <div class="hotel-type">客栈民宿</div>
                <div class="hotel-price">¥218<span class="price-unit">起</span></div>
            </div>
        </div>

        <div class="hotel-card" data-city="jiaxing">
            <img src="static/img/jiaxinjiudian5.jpg"  class="hotel-image">
            <div class="hotel-info">
                <div class="hotel-name">如家酒店</div>
                <div class="hotel-type">客栈民宿</div>
                <div class="hotel-price">¥238<span class="price-unit">起</span></div>
            </div>
        </div>


        <div class="hotel-card" data-city="jiaxing">
            <img src="static/img/jiaxinjiudian6.jpg"  class="hotel-image">
            <div class="hotel-info">
                <div class="hotel-name">沙龙酒店</div>
                <div class="hotel-type">客栈民宿</div>
                <div class="hotel-price">¥388<span class="price-unit">起</span></div>
            </div>
        </div>


        <!-- 苏州酒店 -->
        <div class="hotel-card" data-city="suzhou">
            <img src="static/img/suzhoujiudian1.jpg"  class="hotel-image">
            <div class="hotel-info">
                <div class="hotel-name">苏州东湖酒店</div>
                <div class="hotel-type">客栈民宿</div>
                <div class="hotel-price">¥488<span class="price-unit">起</span></div>
            </div>
        </div>

        <div class="hotel-card" data-city="suzhou">
            <img src="static/img/suzhoujiudian1.jpg"  class="hotel-image">
            <div class="hotel-info">
                <div class="hotel-name">苏州东湖酒店</div>
                <div class="hotel-type">客栈民宿</div>
                <div class="hotel-price">¥338<span class="price-unit">起</span></div>
            </div>
        </div>


        <div class="hotel-card" data-city="suzhou">
            <img src="static/img/suzhoujiudian2.jpg"  class="hotel-image">
            <div class="hotel-info">
                <div class="hotel-name">苏州汉庭酒店</div>
                <div class="hotel-type">客栈民宿</div>
                <div class="hotel-price">¥532<span class="price-unit">起</span></div>
            </div>
        </div>


        <div class="hotel-card" data-city="suzhou">
            <img src="static/img/suzhoujiudian3.jpg"  class="hotel-image">
            <div class="hotel-info">
                <div class="hotel-name">苏州谢海酒店</div>
                <div class="hotel-type">客栈民宿</div>
                <div class="hotel-price">¥136<span class="price-unit">起</span></div>
            </div>
        </div>


        <div class="hotel-card" data-city="suzhou">
            <img src="static/img/suzhoujiudian4.jpg" class="hotel-image">
            <div class="hotel-info">
                <div class="hotel-name">苏州如家酒店</div>
                <div class="hotel-type">客栈民宿</div>
                <div class="hotel-price">¥553<span class="price-unit">起</span></div>
            </div>
        </div>


        <div class="hotel-card" data-city="suzhou">
            <img src="static/img/suzhoujiudian5.jpg"  class="hotel-image">
            <div class="hotel-info">
                <div class="hotel-name">苏州长风归隐酒店</div>
                <div class="hotel-type">客栈民宿</div>
                <div class="hotel-price">¥855<span class="price-unit">起</span></div>
            </div>
        </div>





        <!-- 宁波酒店 -->
        <div class="hotel-card" data-city="ningbo">
            <img src="static/img/lingbojiudian1.jpg"  class="hotel-image">
            <div class="hotel-info">
                <div class="hotel-name">宁波东湖酒店</div>
                <div class="hotel-type">客栈名宿</div>
                <div class="hotel-price">¥561<span class="price-unit">起</span></div>
            </div>
        </div>



        <div class="hotel-card" data-city="ningbo">
            <img src="static/img/lingbojiudian2.jpg"  class="hotel-image">
            <div class="hotel-info">
                <div class="hotel-name">如家</div>
                <div class="hotel-type">客栈名宿</div>
                <div class="hotel-price">¥522<span class="price-unit">起</span></div>
            </div>
        </div>


        <div class="hotel-card" data-city="ningbo">
            <img src="static/img/lingbojiudian3.jpg"  class="hotel-image">
            <div class="hotel-info">
                <div class="hotel-name">美波酒店</div>
                <div class="hotel-type">客栈名宿</div>
                <div class="hotel-price">¥345<span class="price-unit">起</span></div>
            </div>
        </div>


        <div class="hotel-card" data-city="ningbo">
            <img src="static/img/lingbojiudian4.jpg"  class="hotel-image">
            <div class="hotel-info">
                <div class="hotel-name">第七天酒店</div>
                <div class="hotel-type">客栈名宿</div>
                <div class="hotel-price">¥351<span class="price-unit">起</span></div>
            </div>
        </div>


        <div class="hotel-card" data-city="ningbo">
            <img src="static/img/lingbojiudian5.jpg"  class="hotel-image">
            <div class="hotel-info">
                <div class="hotel-name">爱情海酒店</div>
                <div class="hotel-type">客栈名宿</div>
                <div class="hotel-price">¥520<span class="price-unit">起</span></div>
            </div>
        </div>

        <div class="hotel-card" data-city="ningbo">
            <img src="static/img/lingbojiudian6.jpg"  class="hotel-image">
            <div class="hotel-info">
                <div class="hotel-name">宁波天航酒店</div>
                <div class="hotel-type">客栈名宿</div>
                <div class="hotel-price">¥128<span class="price-unit">起</span></div>
            </div>
        </div>



        <!-- 金华酒店 -->
        <div class="hotel-card" data-city="jinhua">
            <img src="static/img/jinghuajiudian1.jpg"  class="hotel-image">
            <div class="hotel-info">
                <div class="hotel-name">精华酒店</div>
                <div class="hotel-type">客栈民宿</div>
                <div class="hotel-price">¥513<span class="price-unit">起</span></div>
            </div>
        </div>

        <div class="hotel-card" data-city="jinhua">
            <img src="static/img/jinghuajiudian2.jpg"  class="hotel-image">
            <div class="hotel-info">
                <div class="hotel-name">潘多拉酒店</div>
                <div class="hotel-type">客栈民宿</div>
                <div class="hotel-price">¥421<span class="price-unit">起</span></div>
            </div>
        </div>

        <div class="hotel-card" data-city="jinhua">
            <img src="static/img/jinghuajiudian3.jpg"  class="hotel-image">
            <div class="hotel-info">
                <div class="hotel-name">金华阿拉贡酒店</div>
                <div class="hotel-type">客栈民宿</div>
                <div class="hotel-price">¥312<span class="price-unit">起</span></div>
            </div>
        </div>


        <div class="hotel-card" data-city="jinhua">
            <img src="static/img/jinghuajiudian4.jpg"  class="hotel-image">
            <div class="hotel-info">
                <div class="hotel-name">夕阳红酒店</div>
                <div class="hotel-type">客栈民宿</div>
                <div class="hotel-price">¥421<span class="price-unit">起</span></div>
            </div>
        </div>


        <div class="hotel-card" data-city="jinhua">
            <img src="static/img/jinghuajiudian5.jpg"  class="hotel-image">
            <div class="hotel-info">
                <div class="hotel-name">倾城酒店</div>
                <div class="hotel-type">客栈民宿</div>
                <div class="hotel-price">¥538<span class="price-unit">起</span></div>
            </div>
        </div>


        <div class="hotel-card" data-city="jinhua">
            <img src="static/img/jinghuajiudian6.jpg"  class="hotel-image">
            <div class="hotel-info">
                <div class="hotel-name">老街酒店</div>
                <div class="hotel-type">客栈民宿</div>
                <div class="hotel-price">¥488<span class="price-unit">起</span></div>
            </div>
        </div>



        <!-- 无锡酒店 -->
        <div class="hotel-card" data-city="wuxi">
            <img src="static/img/wuxijiudian1.jpg"  class="hotel-image">
            <div class="hotel-info">
                <div class="hotel-name">如家酒店</div>
                <div class="hotel-type">客栈名宿</div>
                <div class="hotel-price">¥341<span class="price-unit">起</span></div>
            </div>
        </div>

        <div class="hotel-card" data-city="wuxi">
            <img src="static/img/wuxijiudian2.jpg"  class="hotel-image">
            <div class="hotel-info">
                <div class="hotel-name">靖江酒店</div>
                <div class="hotel-type">客栈名宿</div>
                <div class="hotel-price">¥311<span class="price-unit">起</span></div>
            </div>
        </div>


        <div class="hotel-card" data-city="wuxi">
            <img src="static/img/wuxijiudian3.jpg"  class="hotel-image">
            <div class="hotel-info">
                <div class="hotel-name">汉庭酒店</div>
                <div class="hotel-type">客栈名宿</div>
                <div class="hotel-price">¥421<span class="price-unit">起</span></div>
            </div>
        </div>


        <div class="hotel-card" data-city="wuxi">
            <img src="static/img/wuxijiudian4.jpg"  class="hotel-image">
            <div class="hotel-info">
                <div class="hotel-name">如家酒店</div>
                <div class="hotel-type">客栈名宿</div>
                <div class="hotel-price">¥331<span class="price-unit">起</span></div>
            </div>
        </div>


        <div class="hotel-card" data-city="wuxi">
            <img src="static/img/wuxijiudian5.jpg"  class="hotel-image">
            <div class="hotel-info">
                <div class="hotel-name">雅轩酒店</div>
                <div class="hotel-type">客栈名宿</div>
                <div class="hotel-price">¥241<span class="price-unit">起</span></div>
            </div>
        </div>


        <div class="hotel-card" data-city="wuxi">
            <img src="static/img/wuxijiudian6.jpg"  class="hotel-image">
            <div class="hotel-info">
                <div class="hotel-name">第七天酒店</div>
                <div class="hotel-type">客栈名宿</div>
                <div class="hotel-price">¥258<span class="price-unit">起</span></div>
            </div>
        </div>
        <!-- 其他城市的酒店可以按照相同格式添加 -->
    </div>
</div>

<div id="pangbiantupian">
    <img src="static/img/1qnP0O3CguY.jpg">
</div>


<div id="jingdian-max">
    <%--等待后台渲染页面 8个页面--%>
        <h1 id="jingdian-text">玩景点</h1>
<div id="jingdian">

   <%-- <div>
        <img src="/static/img/Jxq5oc_242x150_00.jpg.webp" alt="杭州"  class="hotel-image">
        <div >
            <div class="hotel-name">苏州东湖酒店</div>
            <div class="hotel-type">苏州酒店</div>
            <div class="hotel-price">¥188<span class="price-unit">起</span></div>
        </div>
    </div>--%>
    <%--循环遍历景点--%>
   <c:forEach items="${hqfPageInfo.list}" begin="0" end="5" var="feature" >
       <%--只能遍历hqfPageInfo.list集合中的6个，倒着遍历--%>


       <div id="feature-djingdian">
           <a href="/static/js/${feature.html}">
           <img src="/img/${feature.img}"  class="hotel-image">
           <div class="hotel-info">
               <div class="hotel-name">${feature.scenic_name}</div>
               <div class="hotel-type">${feature.city}</div>
               <div class="hotel-price">¥${feature.price}<span class="price-unit">起</span></div>
           </div>
           </a>
       </div>
   </c:forEach>

</div>
</div>

<%--目的的合作--%>
<div class="destination-partners">
    <div class="header">
        <h2>目的地合作</h2>
        <a href="/more-destinations" class="more-link">更多目的地 ></a>
    </div>

    <div class="partners-grid">
        <a href="/partners/shenzhen" class="partner-item">
            <div class="partner-image">
                <img src="/static/img/1lqJIDblskg.png.webp" >
            </div>
            <span class="partner-name">克拉玛依旗舰馆</span>
        </a>
        <!-- Add more partner items as needed -->
        <a href="/partners/shenzhen" class="partner-item">
            <div class="partner-image">
                <img src="/static/img/15qfBW6Mpdm.png.webp" >
            </div>
            <span class="partner-name">克拉玛依旗舰馆</span>
        </a>


        <a href="/partners/shenzhen" class="partner-item">
            <div class="partner-image">
                <img src="/static/img/17uagnMlg9q.png.webp" >
            </div>
            <span class="partner-name">克拉玛依旗舰馆</span>
        </a>

        <a href="/partners/shenzhen" class="partner-item">
            <div class="partner-image">
                <img src="/static/img/17uatTBoNdC.jpg.webp" >
            </div>
            <span class="partner-name">克拉玛依旗舰馆</span>
        </a>


        <a href="/partners/shenzhen" class="partner-item">
            <div class="partner-image">
                <img src="/static/img/17uaqpKAR0c.png.webp" >
            </div>
            <span class="partner-name">克拉玛依旗舰馆</span>
        </a>

    </div>

</div>


<%--底部--%>
<div class="service-highlights">
    <div class="highlight-item">
        <i class="icon-price"></i>
        <span>价格公正，安心购买</span>
    </div>
    <div class="highlight-item">
        <i class="icon-quality"></i>
        <span>品质保证，放心出行</span>
    </div>
    <div class="highlight-item">
        <i class="icon-service"></i>
        <span>产品丰富，一站式服务</span>
    </div>
    <div class="highlight-item">
        <i class="icon-support"></i>
        <span>专业顾问，24小时客服</span>
    </div>
</div>
<!-- Footer Navigation -->
<footer class="site-footer">
    <div class="footer-content">
        <!-- Customer Service Section -->
        <div class="footer-section">
            <h3>消费者服务</h3>
            <p>同程投诉受理电话：95711</p>
            <p>同程投诉受理邮箱：tcfwfxbz@ly.com</p>
        </div>

        <!-- About Section -->
        <div class="footer-section">
            <h3>关于同程</h3>
            <ul>
                <li><a href="/about" class="footer-link">同程简介</a></li>
                <li><a href="/sites" class="footer-link">可信网站</a></li>
                <li><a href="/sitemap" class="footer-link">网站地图</a></li>
                <li><a href="/terms" class="footer-link">用户协议与隐私条款</a></li>
            </ul>
        </div>

        <!-- Partnership Section -->
        <div class="footer-section">
            <h3>加盟合作</h3>
            <ul>
                <li><a href="/join" class="footer-link">合作加盟</a></li>
                <li><a href="/business" class="footer-link">商旅合作</a></li>
                <li><a href="/insurance" class="footer-link">旅游保险</a></li>
                <li><a href="/store" class="footer-link">门店合作</a></li>
            </ul>
        </div>


        <div class="footer-section">
            <h3>联系我们</h3>
            <ul>
                <li><a href="/join" class="footer-link">联系我们</a></li>
                <li><a href="/business" class="footer-link">投诉建议</a></li>
                <li><a href="/insurance" class="footer-link">诚聘英才</a></li>
                <li><a href="/store" class="footer-link">廉洁举报平台</a></li>
            </ul>
        </div>

        <!-- Mobile App Section -->
        <div class="footer-section" id="footer-section">
            <h3>同程旅行app</h3>
            <div class="qr-code">
                <img src="static/img/erweima.png" alt="扫描下载APP">
                <p>手机预订更优惠</p>
            </div>
        </div>
    </div>

    <!-- Popular Links -->
    <div class="popular-links">
        <div class="links-section">
            <span>热点推荐：</span>
            <a href="/disneyland" class="footer-link">迪斯尼旅游</a>
            <a href="/thailand" class="footer-link">泰国旅游</a>
            <a href="/japan" class="footer-link">日本旅游</a>
            <!-- Add more links as needed -->
        </div>
    </div>

    <div id="foot-bottom">
        <p>Copyright © 2002-2024  版权所有  <a href="#">同程网络科技股份有限公司</a></p>
        <p><a href="#">经营许可证编号：合字B2-20180016 </a>    <a href="#">备案序号：苏ICP备09033604号</a>  <a href="#"><img src="static/img/微信图片编辑_20241216151627.jpg"></img>苏公网安备32059002001003号 </a>   <a href="#">旅行社业务许可证：L-JS-CJ00070</a>  </p>
        <p><a href="#">旅游网站诚信建设承诺书 </a>    <a href="#">旅游网站守法诚信责任状 </a>   <span>违规失信举报热线：4007-777-777转9</span></p>
        <p>国家文旅部全国旅游投诉热线：拨打12345，或登录全国旅游网络投诉举报平台</p>
        <p>网站网违法和不良信息举报 邮箱：jcj@ly.com</p>
        <p><img src="static/img/szicbok.gif"></p>

    </div>
</footer>



<script>
    document.querySelectorAll('.nav-item').forEach(item => {
        const link = item.querySelector('.nav-link');
        const dropdown = item.querySelector('.dropdown-menu');
        const icon = item.querySelector('.dropdown-icon');

        if (dropdown) {
            let timeout;

            item.addEventListener('mouseenter', () => {
                clearTimeout(timeout);
                dropdown.classList.add('show');
                if (icon) icon.classList.add('active');
            });

            item.addEventListener('mouseleave', () => {
                timeout = setTimeout(() => {
                    dropdown.classList.remove('show');
                    if (icon) icon.classList.remove('active');
                }, 200);
            });
        }
    });
</script>
</body>
<script type="text/javascript" src="https://code.jquery.com/jquery-3.7.1.js"></script>
<script type="text/javascript">

</script>

<%--loger搜索地名--%>
<script>
    const citySelector = document.querySelector('.city-selector');
    const trigger = document.querySelector('.city-trigger');
    const dropdown = document.querySelector('.dropdown');
    const arrow = document.querySelector('.arrow');
    const selectedCitySpan = document.querySelector('.selected-city');
    const tabs = document.querySelectorAll('.tab');
    const tabContents = document.querySelectorAll('.tab-content');
    const cityButtons = document.querySelectorAll('.city-button');

    // Show/hide dropdown on hover
    citySelector.addEventListener('mouseenter', () => {
        dropdown.style.display = 'block';
        arrow.classList.remove('down');
    });

    citySelector.addEventListener('mouseleave', () => {
        dropdown.style.display = 'none';
        arrow.classList.add('down');
    });

    // Tab switching
    tabs.forEach(tab => {
        tab.addEventListener('click', () => {
            // Remove active class from all tabs and contents
            tabs.forEach(t => t.classList.remove('active'));
            tabContents.forEach(content => content.classList.remove('active'));

            // Add active class to clicked tab and corresponding content
            tab.classList.add('active');
            const tabId = tab.getAttribute('data-tab');
            document.getElementById(tabId).classList.add('active');
        });
    });

    // City selection
    cityButtons.forEach(button => {
        button.addEventListener('click', () => {
            selectedCitySpan.textContent = button.textContent;
            dropdown.style.display = 'none';
            arrow.classList.add('down');
        });
    });

    // Initialize arrow state
    arrow.classList.add('down');
</script>


<%--搜索框--%>
<script>
    const searchContainer = document.querySelector('.search-container');
    const searchInput = document.querySelector('.search-input');
    const hotSearches = document.querySelector('.hot-searches');
    const exampleTexts = document.querySelectorAll('.example-text');
    const hotItems = document.querySelectorAll('.hot-item');

    // Show/hide hot searches and example text on focus/blur
    searchInput.addEventListener('focus', () => {
        hotSearches.classList.add('visible');
        exampleTexts.forEach(text => text.style.display = 'none');
    });

    searchInput.addEventListener('blur', (e) => {
        // Small delay to allow for hot item clicks
        setTimeout(() => {
            hotSearches.classList.remove('visible');
            if (!searchInput.value) {
                exampleTexts.forEach(text => text.style.display = 'inline');
            }
        }, 200);
    });

    // Handle hot item clicks
    hotItems.forEach(item => {
        item.addEventListener('click', () => {
            searchInput.value = item.textContent;
            hotSearches.classList.remove('visible');
            exampleTexts.forEach(text => text.style.display = 'none');
        });
    });

    // Clear input on focus if it contains default text
    searchInput.addEventListener('focus', () => {
        if (searchInput.value === searchInput.getAttribute('placeholder')) {
            searchInput.value = '';
        }
    });
</script>


<!--头部客服 引入 Font Awesome 和 jQuery -->
<script>
    $(document).ready(function () {
        $('.contact-wrapper').hover(
            function () {
                // 鼠标划入
                $(this).find('.contact-info').fadeIn(200);
            },
            function () {
                // 鼠标划出
                $(this).find('.contact-info').fadeOut(200);
            }
        );
    });
</script>


<%--首页导航栏--%>
<script>
    $(document).ready(function() {
        // Show dropdown on hover
        $('.GYH-nav-item').hover(
            function() {
                $(this).find('.GYH-dropdown').stop().fadeIn(200);
            },
            function() {
                $(this).find('.GYH-dropdown').stop().fadeOut(200);
            }
        );

        // Handle click events
        $('.GYH-nav-link').click(function(e) {
            const href = $(this).attr('href');
            if(href && href !== '#') {
                window.location.href = href;
            }
        });
    });
</script>
<%--/*机票，酒店.火车票，度假，景点窗口*/--%>
<script>
    $(document).ready(function() {
        // 默认显示机票面板
        $('#flights').addClass('active');
        $('.sidebar-item[data-panel="flights"]').addClass('active');

        // 侧边栏项目点击事件
        $('.sidebar-item').hover(function() {
            const panelId = $(this).data('panel');

            // 移除所有活动状态
            $('.sidebar-item').removeClass('active');
            $('.panel').removeClass('active');

            // 添加新的活动状态
            $(this).addClass('active');
            $('#' + panelId).addClass('active')
        });

        // 标签切换
        $('.tab-header a').click(function(e) {
            e.preventDefault();
            $(this).siblings().removeClass('active');
            $(this).addClass('active');
        });

        // 城市交换按钮
        $('.city-exchange').click(function() {
            const $inputs = $(this).parent().find('input');
            const temp = $inputs.eq(0).val();
            $inputs.eq(0).val($inputs.eq(1).val());
            $inputs.eq(1).val(temp);
        });
    });
</script>



<%--住酒店，酒店地名--%>
<script>
    $(document).ready(function() {
        // 城市切换效果
        $('.city-link').hover(function(e) {
            e.preventDefault();
            const selectedCity = $(this).data('city');

            // 更新导航样式
            $('.city-link').removeClass('active');
            $(this).addClass('active');

            // 显示对应城市的酒店
            $('.hotel-card').removeClass('active');
            $('.hotel-card[data-city='+selectedCity+']').addClass('active');
        });

        // 防止点击链接跳转
        $('.city-link').click(function(e) {
            e.preventDefault();
        });
    });
</script>


<%--目的的合作--%>
<script>
    $(document).ready(function() {
        // Add hover effect
        $('.partner-item').hover(
            function() {
                $(this).find('.partner-name').css('color', '#ff6b00');
            },
            function() {
                $(this).find('.partner-name').css('color', '#333');
            }
        );

        // Handle click events
        $('.partner-item').click(function(e) {
            e.preventDefault();
            const href = $(this).attr('href');
            // Add smooth transition before page change
            $('body').fadeOut(300, function() {
                window.location.href = href;
            });
        });
    });
</script>


<%--登录文字替换--%>
<script>
    if ("${user}"===""){
        document.getElementById("login-text-index").innerText = "您好，请登录"
        //将退出按钮隐藏
        document.getElementById("tuichu").style.display = "none"
        //将我的后台隐藏
        document.getElementById("my-admin").style.display = "none"

    }else{
        document.getElementById("login-text-index").innerText = "Hi,同程会员${user.username}"
        //将退出按钮显示
        document.getElementById("tuichu").style.display = "inline-block"
        //让登录按钮失去效果,页面不在跳转
        document.getElementById("login-text-index").href = "#"
        //隐藏注册按钮
        document.getElementById("zhuce").style.display = "none"
        //将我的后台展现出来
        //如果用户是管理员，则将我的后台展现出来
        if ("${user.status}"=="管理员"){
            document.getElementById("my-admin").style.display = "inline-block"
        }else {
            document.getElementById("my-admin").style.display = "none"
        }







    }


    //点击退出按钮
    $("#tuichu").click(function () {
        //将session域中的值清空
        $.ajax({
            url:"/logout",
            type:"post",
            dataType:"text",
            async:false,
            success:function (data) {
                if (data==200){
                    //将session域中的值清空
                    window.location.href="/index.jsp"
                }else{
                    alert("退出失败")
                }
            }
        })




    })






</script>
<script>
    function checkMyFellow(section) {
        if ("${user}" === "") {
            // 未登录，跳转到登录页面
            window.location.href = "login.jsp";
        } else {
            // 已登录，跳转到我的同程页面
            if (section) {
                window.location.href = "My_fellow_traveler.jsp#" + section;
            } else {
                window.location.href = "My_fellow_traveler.jsp";
            }
        }
    }
</script>




</html>
